Release 10.1A: OpenEdge Development:
Open Client Introduction and Programming
Understanding proxy and Web service object methods
Proxy objects provide methods that allow you to manage proxy objects, create other proxy objects, and access AppServer procedures. ProxyGen generates proxy objects for Java and .NET. The actual proxies for a Web service typically are generated by Web service client tools that use the Web service WSDL file.
Proxy objects support four types of methods you can call from an Open Client application:
- Connection methods — Establishes a connection to an AppServer.
For more information about connecting to an AppServer, see the "Connecting to an AppServer" section. For more information about establishing a connection for a specific type of Open Client, see OpenEdge Development: Java Open Clients , OpenEdge Development: .NET Open Clients , or OpenEdge Development: Web Services .
- Common methods — Manages a proxy object and its AppServer connection. The common methods available depend on the client type. For details, see OpenEdge Development: Java Open Clients , OpenEdge Development: .NET Open Clients , or OpenEdge Development: Web Services .
- Class factory methods — Allows you to create SubAppObjects and ProcObjects. Executing a SubAppObject class factory method does not access the AppServer. Executing a ProcObject class factory method executes the corresponding persistent procedure on the AppServer.
ProxyGen generates class factory methods using standard naming conventions for each type of Open Client. For more information, see Chapter 3, " Generating Proxies and Web Service Definitions."
For Java Open Clients, a built-in class factory method also allows you to create a predefined ProcObject,
SDOResultSet, for a given SmartDataObject procedure file. For more information, see OpenEdge Development: Java Open Clients .- Remote 4GL methods — Invokes non-persistent procedures, internal procedures, and user-defined functions on the AppServer. For more information, see the "Remote 4GL methods" section.
Table 4–1 shows which types of methods are available for each type of proxy object.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |